﻿@inherits LayoutComponentBase

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Blazor App</title>
    <link href="css/app.css" rel="stylesheet" />
    <base href="~/" />
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css" rel="stylesheet" />
    <style>
        body {
            background-image: url('/images/背景.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
    </style>
</head>

<div class="login-layout">
    <!-- 登录页面主体内容 -->
    @Body
</div>

<style>
    .login-layout {
        /* 设置登录页面的样式，如全屏居中等 */
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
</style>